<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Map和Set</title>
</head>
<link rel="stylesheet" href="myStyle.css"/>
<script src="test.js"></script>
<body>
<div>
    <button type="button" onclick="testMap()">测试浏览器是否支持ES6</button>
    <br><br>

    <button type="button" onclick="mapstyle1()">创建map方式1</button>
    <br><br>

    <button type="button" onclick="mapstyle2()">创建map方式2</button>
    <br><br>

    <button type="button" onclick="mapstyle3()">创建map</button>
    <br><br>

    <button type="button" onclick="setStyle1()">Set1</button>
    <br><br>

    <button type="button" onclick="setStyle2()">Set2</button>
    <br><br>

    <button type="button" onclick="setStyle3()">Set3</button>
    <br><br>

    <button type="button" onclick="setStyle4()">Set4</button>
    <br><br>
</div>
</body>
</html>